package com.zhijian.medical.dao.local;

import com.zhijian.medical.entity.po.SangerCwfxyq;
import com.zhijian.medical.entity.vo.request.SangerCwfxyqSearchVo;
import com.zhijian.medical.entity.vo.response.SangerCwfxyqVo;

import java.util.List;

public interface SangerCwfxyqMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SangerCwfxyq record);

    int insertSelective(SangerCwfxyq record);

    SangerCwfxyq selectByPrimaryKey(Long id);

    /**
     * 根据实验id查询
     *
     * @param sangerId
     * @return
     */
    SangerCwfxyq selectBySangerId(Long sangerId);

    int updateByPrimaryKeySelective(SangerCwfxyq record);

    int updateByPrimaryKey(SangerCwfxyq record);

    int count(SangerCwfxyqSearchVo sangerCwfxyqSearchVo);

    List<SangerCwfxyqVo> selectList(SangerCwfxyqSearchVo sangerCwfxyqSearchVo);

    SangerCwfxyqVo selectVoById(Long id);

    /**
     * 根据实验id查询vo
     *
     * @param sangerId
     * @return
     */
    SangerCwfxyqVo selectVoBySangerId(Long sangerId);
}